projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
960ce48
)
* nsterm.m (ns_select): Don't return with result uninitialized.
author
Jan Djärv
<jan.h.d@swipnet.se>
Sat, 16 Mar 2013 14:22:37 +0000
(15:22 +0100)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Sat, 16 Mar 2013 14:22:37 +0000
(15:22 +0100)
src/ChangeLog
patch
|
blob
|
history
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 06618a543e2e35c97d22dcc064e1321d502ba130..3a2a36c0cf747b575443cc905fa8a53d98905fbb 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,6
+1,7
@@
2013-03-16 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (updateFrameSize:): Change resize increments if needed.
+ (ns_select): Don't return with result uninitialized.
* nsterm.h (EmacsSavePanel, EmacsOpenPanel): Add getFilename
and getDirectory.
diff --git
a/src/nsterm.m
b/src/nsterm.m
index be586010c8107fb566d9b118e2c679145589f478..40e506eab2787fe3d9596598d50a69782b455573 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-3601,6
+3601,11
@@
ns_select (int nfds, fd_set *readfds, fd_set *writefds,
result = t;
}
}
+ else
+ {
+ errno = EINTR;
+ result = -1;
+ }
return result;
}